package com.yunjian.core.busi.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class EmployeeExample {

    /**
	 * @mbggenerated
	 */
	protected String orderByClause;
	/**
	 * @mbggenerated
	 */
	protected boolean distinct;
	/**
	 * @mbggenerated
	 */
	protected List<Criteria> oredCriteria;

	/**
	 * @mbggenerated
	 */
	public EmployeeExample() {
		oredCriteria = new ArrayList<Criteria>();
	}

	/**
	 * @mbggenerated
	 */
	public void setOrderByClause(String orderByClause) {
		this.orderByClause = orderByClause;
	}

	/**
	 * @mbggenerated
	 */
	public String getOrderByClause() {
		return orderByClause;
	}

	/**
	 * @mbggenerated
	 */
	public void setDistinct(boolean distinct) {
		this.distinct = distinct;
	}

	/**
	 * @mbggenerated
	 */
	public boolean isDistinct() {
		return distinct;
	}

	/**
	 * @mbggenerated
	 */
	public List<Criteria> getOredCriteria() {
		return oredCriteria;
	}

	/**
	 * @mbggenerated
	 */
	public void or(Criteria criteria) {
		oredCriteria.add(criteria);
	}

	/**
	 * @mbggenerated
	 */
	public Criteria or() {
		Criteria criteria = createCriteriaInternal();
		oredCriteria.add(criteria);
		return criteria;
	}

	/**
	 * @mbggenerated
	 */
	public Criteria createCriteria() {
		Criteria criteria = createCriteriaInternal();
		if (oredCriteria.size() == 0) {
			oredCriteria.add(criteria);
		}
		return criteria;
	}

	/**
	 * @mbggenerated
	 */
	protected Criteria createCriteriaInternal() {
		Criteria criteria = new Criteria();
		return criteria;
	}

	/**
	 * @mbggenerated
	 */
	public void clear() {
		oredCriteria.clear();
		orderByClause = null;
		distinct = false;
	}

	/**
	 * This class was generated by MyBatis Generator. This class corresponds to the database table employee
	 * @mbggenerated
	 */
	protected abstract static class GeneratedCriteria {
		protected List<Criterion> criteria;

		protected GeneratedCriteria() {
			super();
			criteria = new ArrayList<Criterion>();
		}

		public boolean isValid() {
			return criteria.size() > 0;
		}

		public List<Criterion> getAllCriteria() {
			return criteria;
		}

		public List<Criterion> getCriteria() {
			return criteria;
		}

		protected void addCriterion(String condition) {
			if (condition == null) {
				throw new RuntimeException("Value for condition cannot be null");
			}
			criteria.add(new Criterion(condition));
		}

		protected void addCriterion(String condition, Object value,
				String property) {
			if (value == null) {
				throw new RuntimeException("Value for " + property
						+ " cannot be null");
			}
			criteria.add(new Criterion(condition, value));
		}

		protected void addCriterion(String condition, Object value1,
				Object value2, String property) {
			if (value1 == null || value2 == null) {
				throw new RuntimeException("Between values for " + property
						+ " cannot be null");
			}
			criteria.add(new Criterion(condition, value1, value2));
		}

		protected void addCriterionForJDBCDate(String condition, Date value,
				String property) {
			if (value == null) {
				throw new RuntimeException("Value for " + property
						+ " cannot be null");
			}
			addCriterion(condition, new java.sql.Date(value.getTime()),
					property);
		}

		protected void addCriterionForJDBCDate(String condition,
				List<Date> values, String property) {
			if (values == null || values.size() == 0) {
				throw new RuntimeException("Value list for " + property
						+ " cannot be null or empty");
			}
			List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
			Iterator<Date> iter = values.iterator();
			while (iter.hasNext()) {
				dateList.add(new java.sql.Date(iter.next().getTime()));
			}
			addCriterion(condition, dateList, property);
		}

		protected void addCriterionForJDBCDate(String condition, Date value1,
				Date value2, String property) {
			if (value1 == null || value2 == null) {
				throw new RuntimeException("Between values for " + property
						+ " cannot be null");
			}
			addCriterion(condition, new java.sql.Date(value1.getTime()),
					new java.sql.Date(value2.getTime()), property);
		}

		public Criteria andUserIdIsNull() {
			addCriterion("user_id is null");
			return (Criteria) this;
		}

		public Criteria andUserIdIsNotNull() {
			addCriterion("user_id is not null");
			return (Criteria) this;
		}

		public Criteria andUserIdEqualTo(String value) {
			addCriterion("user_id =", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdNotEqualTo(String value) {
			addCriterion("user_id <>", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdGreaterThan(String value) {
			addCriterion("user_id >", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdGreaterThanOrEqualTo(String value) {
			addCriterion("user_id >=", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdLessThan(String value) {
			addCriterion("user_id <", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdLessThanOrEqualTo(String value) {
			addCriterion("user_id <=", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdLike(String value) {
			addCriterion("user_id like", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdNotLike(String value) {
			addCriterion("user_id not like", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdIn(List<String> values) {
			addCriterion("user_id in", values, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdNotIn(List<String> values) {
			addCriterion("user_id not in", values, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdBetween(String value1, String value2) {
			addCriterion("user_id between", value1, value2, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdNotBetween(String value1, String value2) {
			addCriterion("user_id not between", value1, value2, "userId");
			return (Criteria) this;
		}

		public Criteria andNameIsNull() {
			addCriterion("name is null");
			return (Criteria) this;
		}

		public Criteria andNameIsNotNull() {
			addCriterion("name is not null");
			return (Criteria) this;
		}

		public Criteria andNameEqualTo(String value) {
			addCriterion("name =", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameNotEqualTo(String value) {
			addCriterion("name <>", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameGreaterThan(String value) {
			addCriterion("name >", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameGreaterThanOrEqualTo(String value) {
			addCriterion("name >=", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameLessThan(String value) {
			addCriterion("name <", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameLessThanOrEqualTo(String value) {
			addCriterion("name <=", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameLike(String value) {
			addCriterion("name like", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameNotLike(String value) {
			addCriterion("name not like", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameIn(List<String> values) {
			addCriterion("name in", values, "name");
			return (Criteria) this;
		}

		public Criteria andNameNotIn(List<String> values) {
			addCriterion("name not in", values, "name");
			return (Criteria) this;
		}

		public Criteria andNameBetween(String value1, String value2) {
			addCriterion("name between", value1, value2, "name");
			return (Criteria) this;
		}

		public Criteria andNameNotBetween(String value1, String value2) {
			addCriterion("name not between", value1, value2, "name");
			return (Criteria) this;
		}

		public Criteria andIdcardIsNull() {
			addCriterion("idcard is null");
			return (Criteria) this;
		}

		public Criteria andIdcardIsNotNull() {
			addCriterion("idcard is not null");
			return (Criteria) this;
		}

		public Criteria andIdcardEqualTo(String value) {
			addCriterion("idcard =", value, "idcard");
			return (Criteria) this;
		}

		public Criteria andIdcardNotEqualTo(String value) {
			addCriterion("idcard <>", value, "idcard");
			return (Criteria) this;
		}

		public Criteria andIdcardGreaterThan(String value) {
			addCriterion("idcard >", value, "idcard");
			return (Criteria) this;
		}

		public Criteria andIdcardGreaterThanOrEqualTo(String value) {
			addCriterion("idcard >=", value, "idcard");
			return (Criteria) this;
		}

		public Criteria andIdcardLessThan(String value) {
			addCriterion("idcard <", value, "idcard");
			return (Criteria) this;
		}

		public Criteria andIdcardLessThanOrEqualTo(String value) {
			addCriterion("idcard <=", value, "idcard");
			return (Criteria) this;
		}

		public Criteria andIdcardLike(String value) {
			addCriterion("idcard like", value, "idcard");
			return (Criteria) this;
		}

		public Criteria andIdcardNotLike(String value) {
			addCriterion("idcard not like", value, "idcard");
			return (Criteria) this;
		}

		public Criteria andIdcardIn(List<String> values) {
			addCriterion("idcard in", values, "idcard");
			return (Criteria) this;
		}

		public Criteria andIdcardNotIn(List<String> values) {
			addCriterion("idcard not in", values, "idcard");
			return (Criteria) this;
		}

		public Criteria andIdcardBetween(String value1, String value2) {
			addCriterion("idcard between", value1, value2, "idcard");
			return (Criteria) this;
		}

		public Criteria andIdcardNotBetween(String value1, String value2) {
			addCriterion("idcard not between", value1, value2, "idcard");
			return (Criteria) this;
		}

		public Criteria andSexIsNull() {
			addCriterion("sex is null");
			return (Criteria) this;
		}

		public Criteria andSexIsNotNull() {
			addCriterion("sex is not null");
			return (Criteria) this;
		}

		public Criteria andSexEqualTo(String value) {
			addCriterion("sex =", value, "sex");
			return (Criteria) this;
		}

		public Criteria andSexNotEqualTo(String value) {
			addCriterion("sex <>", value, "sex");
			return (Criteria) this;
		}

		public Criteria andSexGreaterThan(String value) {
			addCriterion("sex >", value, "sex");
			return (Criteria) this;
		}

		public Criteria andSexGreaterThanOrEqualTo(String value) {
			addCriterion("sex >=", value, "sex");
			return (Criteria) this;
		}

		public Criteria andSexLessThan(String value) {
			addCriterion("sex <", value, "sex");
			return (Criteria) this;
		}

		public Criteria andSexLessThanOrEqualTo(String value) {
			addCriterion("sex <=", value, "sex");
			return (Criteria) this;
		}

		public Criteria andSexLike(String value) {
			addCriterion("sex like", value, "sex");
			return (Criteria) this;
		}

		public Criteria andSexNotLike(String value) {
			addCriterion("sex not like", value, "sex");
			return (Criteria) this;
		}

		public Criteria andSexIn(List<String> values) {
			addCriterion("sex in", values, "sex");
			return (Criteria) this;
		}

		public Criteria andSexNotIn(List<String> values) {
			addCriterion("sex not in", values, "sex");
			return (Criteria) this;
		}

		public Criteria andSexBetween(String value1, String value2) {
			addCriterion("sex between", value1, value2, "sex");
			return (Criteria) this;
		}

		public Criteria andSexNotBetween(String value1, String value2) {
			addCriterion("sex not between", value1, value2, "sex");
			return (Criteria) this;
		}

		public Criteria andAddressIsNull() {
			addCriterion("address is null");
			return (Criteria) this;
		}

		public Criteria andAddressIsNotNull() {
			addCriterion("address is not null");
			return (Criteria) this;
		}

		public Criteria andAddressEqualTo(String value) {
			addCriterion("address =", value, "address");
			return (Criteria) this;
		}

		public Criteria andAddressNotEqualTo(String value) {
			addCriterion("address <>", value, "address");
			return (Criteria) this;
		}

		public Criteria andAddressGreaterThan(String value) {
			addCriterion("address >", value, "address");
			return (Criteria) this;
		}

		public Criteria andAddressGreaterThanOrEqualTo(String value) {
			addCriterion("address >=", value, "address");
			return (Criteria) this;
		}

		public Criteria andAddressLessThan(String value) {
			addCriterion("address <", value, "address");
			return (Criteria) this;
		}

		public Criteria andAddressLessThanOrEqualTo(String value) {
			addCriterion("address <=", value, "address");
			return (Criteria) this;
		}

		public Criteria andAddressLike(String value) {
			addCriterion("address like", value, "address");
			return (Criteria) this;
		}

		public Criteria andAddressNotLike(String value) {
			addCriterion("address not like", value, "address");
			return (Criteria) this;
		}

		public Criteria andAddressIn(List<String> values) {
			addCriterion("address in", values, "address");
			return (Criteria) this;
		}

		public Criteria andAddressNotIn(List<String> values) {
			addCriterion("address not in", values, "address");
			return (Criteria) this;
		}

		public Criteria andAddressBetween(String value1, String value2) {
			addCriterion("address between", value1, value2, "address");
			return (Criteria) this;
		}

		public Criteria andAddressNotBetween(String value1, String value2) {
			addCriterion("address not between", value1, value2, "address");
			return (Criteria) this;
		}

		public Criteria andNativePlaceIsNull() {
			addCriterion("native_place is null");
			return (Criteria) this;
		}

		public Criteria andNativePlaceIsNotNull() {
			addCriterion("native_place is not null");
			return (Criteria) this;
		}

		public Criteria andNativePlaceEqualTo(String value) {
			addCriterion("native_place =", value, "nativePlace");
			return (Criteria) this;
		}

		public Criteria andNativePlaceNotEqualTo(String value) {
			addCriterion("native_place <>", value, "nativePlace");
			return (Criteria) this;
		}

		public Criteria andNativePlaceGreaterThan(String value) {
			addCriterion("native_place >", value, "nativePlace");
			return (Criteria) this;
		}

		public Criteria andNativePlaceGreaterThanOrEqualTo(String value) {
			addCriterion("native_place >=", value, "nativePlace");
			return (Criteria) this;
		}

		public Criteria andNativePlaceLessThan(String value) {
			addCriterion("native_place <", value, "nativePlace");
			return (Criteria) this;
		}

		public Criteria andNativePlaceLessThanOrEqualTo(String value) {
			addCriterion("native_place <=", value, "nativePlace");
			return (Criteria) this;
		}

		public Criteria andNativePlaceLike(String value) {
			addCriterion("native_place like", value, "nativePlace");
			return (Criteria) this;
		}

		public Criteria andNativePlaceNotLike(String value) {
			addCriterion("native_place not like", value, "nativePlace");
			return (Criteria) this;
		}

		public Criteria andNativePlaceIn(List<String> values) {
			addCriterion("native_place in", values, "nativePlace");
			return (Criteria) this;
		}

		public Criteria andNativePlaceNotIn(List<String> values) {
			addCriterion("native_place not in", values, "nativePlace");
			return (Criteria) this;
		}

		public Criteria andNativePlaceBetween(String value1, String value2) {
			addCriterion("native_place between", value1, value2, "nativePlace");
			return (Criteria) this;
		}

		public Criteria andNativePlaceNotBetween(String value1, String value2) {
			addCriterion("native_place not between", value1, value2,
					"nativePlace");
			return (Criteria) this;
		}

		public Criteria andBirthIsNull() {
			addCriterion("birth is null");
			return (Criteria) this;
		}

		public Criteria andBirthIsNotNull() {
			addCriterion("birth is not null");
			return (Criteria) this;
		}

		public Criteria andBirthEqualTo(Date value) {
			addCriterionForJDBCDate("birth =", value, "birth");
			return (Criteria) this;
		}

		public Criteria andBirthNotEqualTo(Date value) {
			addCriterionForJDBCDate("birth <>", value, "birth");
			return (Criteria) this;
		}

		public Criteria andBirthGreaterThan(Date value) {
			addCriterionForJDBCDate("birth >", value, "birth");
			return (Criteria) this;
		}

		public Criteria andBirthGreaterThanOrEqualTo(Date value) {
			addCriterionForJDBCDate("birth >=", value, "birth");
			return (Criteria) this;
		}

		public Criteria andBirthLessThan(Date value) {
			addCriterionForJDBCDate("birth <", value, "birth");
			return (Criteria) this;
		}

		public Criteria andBirthLessThanOrEqualTo(Date value) {
			addCriterionForJDBCDate("birth <=", value, "birth");
			return (Criteria) this;
		}

		public Criteria andBirthIn(List<Date> values) {
			addCriterionForJDBCDate("birth in", values, "birth");
			return (Criteria) this;
		}

		public Criteria andBirthNotIn(List<Date> values) {
			addCriterionForJDBCDate("birth not in", values, "birth");
			return (Criteria) this;
		}

		public Criteria andBirthBetween(Date value1, Date value2) {
			addCriterionForJDBCDate("birth between", value1, value2, "birth");
			return (Criteria) this;
		}

		public Criteria andBirthNotBetween(Date value1, Date value2) {
			addCriterionForJDBCDate("birth not between", value1, value2,
					"birth");
			return (Criteria) this;
		}

		public Criteria andEducationIsNull() {
			addCriterion("education is null");
			return (Criteria) this;
		}

		public Criteria andEducationIsNotNull() {
			addCriterion("education is not null");
			return (Criteria) this;
		}

		public Criteria andEducationEqualTo(String value) {
			addCriterion("education =", value, "education");
			return (Criteria) this;
		}

		public Criteria andEducationNotEqualTo(String value) {
			addCriterion("education <>", value, "education");
			return (Criteria) this;
		}

		public Criteria andEducationGreaterThan(String value) {
			addCriterion("education >", value, "education");
			return (Criteria) this;
		}

		public Criteria andEducationGreaterThanOrEqualTo(String value) {
			addCriterion("education >=", value, "education");
			return (Criteria) this;
		}

		public Criteria andEducationLessThan(String value) {
			addCriterion("education <", value, "education");
			return (Criteria) this;
		}

		public Criteria andEducationLessThanOrEqualTo(String value) {
			addCriterion("education <=", value, "education");
			return (Criteria) this;
		}

		public Criteria andEducationLike(String value) {
			addCriterion("education like", value, "education");
			return (Criteria) this;
		}

		public Criteria andEducationNotLike(String value) {
			addCriterion("education not like", value, "education");
			return (Criteria) this;
		}

		public Criteria andEducationIn(List<String> values) {
			addCriterion("education in", values, "education");
			return (Criteria) this;
		}

		public Criteria andEducationNotIn(List<String> values) {
			addCriterion("education not in", values, "education");
			return (Criteria) this;
		}

		public Criteria andEducationBetween(String value1, String value2) {
			addCriterion("education between", value1, value2, "education");
			return (Criteria) this;
		}

		public Criteria andEducationNotBetween(String value1, String value2) {
			addCriterion("education not between", value1, value2, "education");
			return (Criteria) this;
		}

		public Criteria andMaritalstatusIsNull() {
			addCriterion("maritalStatus is null");
			return (Criteria) this;
		}

		public Criteria andMaritalstatusIsNotNull() {
			addCriterion("maritalStatus is not null");
			return (Criteria) this;
		}

		public Criteria andMaritalstatusEqualTo(String value) {
			addCriterion("maritalStatus =", value, "maritalstatus");
			return (Criteria) this;
		}

		public Criteria andMaritalstatusNotEqualTo(String value) {
			addCriterion("maritalStatus <>", value, "maritalstatus");
			return (Criteria) this;
		}

		public Criteria andMaritalstatusGreaterThan(String value) {
			addCriterion("maritalStatus >", value, "maritalstatus");
			return (Criteria) this;
		}

		public Criteria andMaritalstatusGreaterThanOrEqualTo(String value) {
			addCriterion("maritalStatus >=", value, "maritalstatus");
			return (Criteria) this;
		}

		public Criteria andMaritalstatusLessThan(String value) {
			addCriterion("maritalStatus <", value, "maritalstatus");
			return (Criteria) this;
		}

		public Criteria andMaritalstatusLessThanOrEqualTo(String value) {
			addCriterion("maritalStatus <=", value, "maritalstatus");
			return (Criteria) this;
		}

		public Criteria andMaritalstatusLike(String value) {
			addCriterion("maritalStatus like", value, "maritalstatus");
			return (Criteria) this;
		}

		public Criteria andMaritalstatusNotLike(String value) {
			addCriterion("maritalStatus not like", value, "maritalstatus");
			return (Criteria) this;
		}

		public Criteria andMaritalstatusIn(List<String> values) {
			addCriterion("maritalStatus in", values, "maritalstatus");
			return (Criteria) this;
		}

		public Criteria andMaritalstatusNotIn(List<String> values) {
			addCriterion("maritalStatus not in", values, "maritalstatus");
			return (Criteria) this;
		}

		public Criteria andMaritalstatusBetween(String value1, String value2) {
			addCriterion("maritalStatus between", value1, value2,
					"maritalstatus");
			return (Criteria) this;
		}

		public Criteria andMaritalstatusNotBetween(String value1, String value2) {
			addCriterion("maritalStatus not between", value1, value2,
					"maritalstatus");
			return (Criteria) this;
		}

		public Criteria andEntryTimeIsNull() {
			addCriterion("entry_time is null");
			return (Criteria) this;
		}

		public Criteria andEntryTimeIsNotNull() {
			addCriterion("entry_time is not null");
			return (Criteria) this;
		}

		public Criteria andEntryTimeEqualTo(Date value) {
			addCriterionForJDBCDate("entry_time =", value, "entryTime");
			return (Criteria) this;
		}

		public Criteria andEntryTimeNotEqualTo(Date value) {
			addCriterionForJDBCDate("entry_time <>", value, "entryTime");
			return (Criteria) this;
		}

		public Criteria andEntryTimeGreaterThan(Date value) {
			addCriterionForJDBCDate("entry_time >", value, "entryTime");
			return (Criteria) this;
		}

		public Criteria andEntryTimeGreaterThanOrEqualTo(Date value) {
			addCriterionForJDBCDate("entry_time >=", value, "entryTime");
			return (Criteria) this;
		}

		public Criteria andEntryTimeLessThan(Date value) {
			addCriterionForJDBCDate("entry_time <", value, "entryTime");
			return (Criteria) this;
		}

		public Criteria andEntryTimeLessThanOrEqualTo(Date value) {
			addCriterionForJDBCDate("entry_time <=", value, "entryTime");
			return (Criteria) this;
		}

		public Criteria andEntryTimeIn(List<Date> values) {
			addCriterionForJDBCDate("entry_time in", values, "entryTime");
			return (Criteria) this;
		}

		public Criteria andEntryTimeNotIn(List<Date> values) {
			addCriterionForJDBCDate("entry_time not in", values, "entryTime");
			return (Criteria) this;
		}

		public Criteria andEntryTimeBetween(Date value1, Date value2) {
			addCriterionForJDBCDate("entry_time between", value1, value2,
					"entryTime");
			return (Criteria) this;
		}

		public Criteria andEntryTimeNotBetween(Date value1, Date value2) {
			addCriterionForJDBCDate("entry_time not between", value1, value2,
					"entryTime");
			return (Criteria) this;
		}

		public Criteria andStoreIdIsNull() {
			addCriterion("store_id is null");
			return (Criteria) this;
		}

		public Criteria andStoreIdIsNotNull() {
			addCriterion("store_id is not null");
			return (Criteria) this;
		}

		public Criteria andStoreIdEqualTo(String value) {
			addCriterion("store_id =", value, "storeId");
			return (Criteria) this;
		}

		public Criteria andStoreIdNotEqualTo(String value) {
			addCriterion("store_id <>", value, "storeId");
			return (Criteria) this;
		}

		public Criteria andStoreIdGreaterThan(String value) {
			addCriterion("store_id >", value, "storeId");
			return (Criteria) this;
		}

		public Criteria andStoreIdGreaterThanOrEqualTo(String value) {
			addCriterion("store_id >=", value, "storeId");
			return (Criteria) this;
		}

		public Criteria andStoreIdLessThan(String value) {
			addCriterion("store_id <", value, "storeId");
			return (Criteria) this;
		}

		public Criteria andStoreIdLessThanOrEqualTo(String value) {
			addCriterion("store_id <=", value, "storeId");
			return (Criteria) this;
		}

		public Criteria andStoreIdLike(String value) {
			addCriterion("store_id like", value, "storeId");
			return (Criteria) this;
		}

		public Criteria andStoreIdNotLike(String value) {
			addCriterion("store_id not like", value, "storeId");
			return (Criteria) this;
		}

		public Criteria andStoreIdIn(List<String> values) {
			addCriterion("store_id in", values, "storeId");
			return (Criteria) this;
		}

		public Criteria andStoreIdNotIn(List<String> values) {
			addCriterion("store_id not in", values, "storeId");
			return (Criteria) this;
		}

		public Criteria andStoreIdBetween(String value1, String value2) {
			addCriterion("store_id between", value1, value2, "storeId");
			return (Criteria) this;
		}

		public Criteria andStoreIdNotBetween(String value1, String value2) {
			addCriterion("store_id not between", value1, value2, "storeId");
			return (Criteria) this;
		}

		public Criteria andPostIsNull() {
			addCriterion("post is null");
			return (Criteria) this;
		}

		public Criteria andPostIsNotNull() {
			addCriterion("post is not null");
			return (Criteria) this;
		}

		public Criteria andPostEqualTo(String value) {
			addCriterion("post =", value, "post");
			return (Criteria) this;
		}

		public Criteria andPostNotEqualTo(String value) {
			addCriterion("post <>", value, "post");
			return (Criteria) this;
		}

		public Criteria andPostGreaterThan(String value) {
			addCriterion("post >", value, "post");
			return (Criteria) this;
		}

		public Criteria andPostGreaterThanOrEqualTo(String value) {
			addCriterion("post >=", value, "post");
			return (Criteria) this;
		}

		public Criteria andPostLessThan(String value) {
			addCriterion("post <", value, "post");
			return (Criteria) this;
		}

		public Criteria andPostLessThanOrEqualTo(String value) {
			addCriterion("post <=", value, "post");
			return (Criteria) this;
		}

		public Criteria andPostLike(String value) {
			addCriterion("post like", value, "post");
			return (Criteria) this;
		}

		public Criteria andPostNotLike(String value) {
			addCriterion("post not like", value, "post");
			return (Criteria) this;
		}

		public Criteria andPostIn(List<String> values) {
			addCriterion("post in", values, "post");
			return (Criteria) this;
		}

		public Criteria andPostNotIn(List<String> values) {
			addCriterion("post not in", values, "post");
			return (Criteria) this;
		}

		public Criteria andPostBetween(String value1, String value2) {
			addCriterion("post between", value1, value2, "post");
			return (Criteria) this;
		}

		public Criteria andPostNotBetween(String value1, String value2) {
			addCriterion("post not between", value1, value2, "post");
			return (Criteria) this;
		}

		public Criteria andStatusIsNull() {
			addCriterion("status is null");
			return (Criteria) this;
		}

		public Criteria andStatusIsNotNull() {
			addCriterion("status is not null");
			return (Criteria) this;
		}

		public Criteria andStatusEqualTo(String value) {
			addCriterion("status =", value, "status");
			return (Criteria) this;
		}

		public Criteria andStatusNotEqualTo(String value) {
			addCriterion("status <>", value, "status");
			return (Criteria) this;
		}

		public Criteria andStatusGreaterThan(String value) {
			addCriterion("status >", value, "status");
			return (Criteria) this;
		}

		public Criteria andStatusGreaterThanOrEqualTo(String value) {
			addCriterion("status >=", value, "status");
			return (Criteria) this;
		}

		public Criteria andStatusLessThan(String value) {
			addCriterion("status <", value, "status");
			return (Criteria) this;
		}

		public Criteria andStatusLessThanOrEqualTo(String value) {
			addCriterion("status <=", value, "status");
			return (Criteria) this;
		}

		public Criteria andStatusLike(String value) {
			addCriterion("status like", value, "status");
			return (Criteria) this;
		}

		public Criteria andStatusNotLike(String value) {
			addCriterion("status not like", value, "status");
			return (Criteria) this;
		}

		public Criteria andStatusIn(List<String> values) {
			addCriterion("status in", values, "status");
			return (Criteria) this;
		}

		public Criteria andStatusNotIn(List<String> values) {
			addCriterion("status not in", values, "status");
			return (Criteria) this;
		}

		public Criteria andStatusBetween(String value1, String value2) {
			addCriterion("status between", value1, value2, "status");
			return (Criteria) this;
		}

		public Criteria andStatusNotBetween(String value1, String value2) {
			addCriterion("status not between", value1, value2, "status");
			return (Criteria) this;
		}

		public Criteria andCreateTimeIsNull() {
			addCriterion("create_time is null");
			return (Criteria) this;
		}

		public Criteria andCreateTimeIsNotNull() {
			addCriterion("create_time is not null");
			return (Criteria) this;
		}

		public Criteria andCreateTimeEqualTo(Date value) {
			addCriterion("create_time =", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeNotEqualTo(Date value) {
			addCriterion("create_time <>", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeGreaterThan(Date value) {
			addCriterion("create_time >", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("create_time >=", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeLessThan(Date value) {
			addCriterion("create_time <", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
			addCriterion("create_time <=", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeIn(List<Date> values) {
			addCriterion("create_time in", values, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeNotIn(List<Date> values) {
			addCriterion("create_time not in", values, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeBetween(Date value1, Date value2) {
			addCriterion("create_time between", value1, value2, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
			addCriterion("create_time not between", value1, value2,
					"createTime");
			return (Criteria) this;
		}

		public Criteria andDelFlagIsNull() {
			addCriterion("del_flag is null");
			return (Criteria) this;
		}

		public Criteria andDelFlagIsNotNull() {
			addCriterion("del_flag is not null");
			return (Criteria) this;
		}

		public Criteria andDelFlagEqualTo(Integer value) {
			addCriterion("del_flag =", value, "delFlag");
			return (Criteria) this;
		}

		public Criteria andDelFlagNotEqualTo(Integer value) {
			addCriterion("del_flag <>", value, "delFlag");
			return (Criteria) this;
		}

		public Criteria andDelFlagGreaterThan(Integer value) {
			addCriterion("del_flag >", value, "delFlag");
			return (Criteria) this;
		}

		public Criteria andDelFlagGreaterThanOrEqualTo(Integer value) {
			addCriterion("del_flag >=", value, "delFlag");
			return (Criteria) this;
		}

		public Criteria andDelFlagLessThan(Integer value) {
			addCriterion("del_flag <", value, "delFlag");
			return (Criteria) this;
		}

		public Criteria andDelFlagLessThanOrEqualTo(Integer value) {
			addCriterion("del_flag <=", value, "delFlag");
			return (Criteria) this;
		}

		public Criteria andDelFlagIn(List<Integer> values) {
			addCriterion("del_flag in", values, "delFlag");
			return (Criteria) this;
		}

		public Criteria andDelFlagNotIn(List<Integer> values) {
			addCriterion("del_flag not in", values, "delFlag");
			return (Criteria) this;
		}

		public Criteria andDelFlagBetween(Integer value1, Integer value2) {
			addCriterion("del_flag between", value1, value2, "delFlag");
			return (Criteria) this;
		}

		public Criteria andDelFlagNotBetween(Integer value1, Integer value2) {
			addCriterion("del_flag not between", value1, value2, "delFlag");
			return (Criteria) this;
		}
	}

	/**
	 * This class was generated by MyBatis Generator. This class corresponds to the database table employee
	 * @mbggenerated
	 */
	public static class Criterion {
		private String condition;
		private Object value;
		private Object secondValue;
		private boolean noValue;
		private boolean singleValue;
		private boolean betweenValue;
		private boolean listValue;
		private String typeHandler;

		public String getCondition() {
			return condition;
		}

		public Object getValue() {
			return value;
		}

		public Object getSecondValue() {
			return secondValue;
		}

		public boolean isNoValue() {
			return noValue;
		}

		public boolean isSingleValue() {
			return singleValue;
		}

		public boolean isBetweenValue() {
			return betweenValue;
		}

		public boolean isListValue() {
			return listValue;
		}

		public String getTypeHandler() {
			return typeHandler;
		}

		protected Criterion(String condition) {
			super();
			this.condition = condition;
			this.typeHandler = null;
			this.noValue = true;
		}

		protected Criterion(String condition, Object value, String typeHandler) {
			super();
			this.condition = condition;
			this.value = value;
			this.typeHandler = typeHandler;
			if (value instanceof List<?>) {
				this.listValue = true;
			} else {
				this.singleValue = true;
			}
		}

		protected Criterion(String condition, Object value) {
			this(condition, value, null);
		}

		protected Criterion(String condition, Object value, Object secondValue,
				String typeHandler) {
			super();
			this.condition = condition;
			this.value = value;
			this.secondValue = secondValue;
			this.typeHandler = typeHandler;
			this.betweenValue = true;
		}

		protected Criterion(String condition, Object value, Object secondValue) {
			this(condition, value, secondValue, null);
		}
	}

	/**
     * This class was generated by MyBatis Generator. This class corresponds to
     * the database table employee
     *
     * @mbggenerated do_not_delete_during_merge
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }
}
